﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace leviathan_rpg
{
    public partial class InputBox : Form
    {
        private leviathan.supervisor.Supervisor supv;

        public InputBox(leviathan.supervisor.Supervisor s)
        {
            InitializeComponent();

            supv = s;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            supv.code(textBox1.Text);
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
